
import axios from '@/libs/request/axios'
import QS from 'qs';
export const getStatus = (params) => {
    return axios.request({
        url: '/apply/commission/getstatus',
        method: 'post',
        params:params
    });
}
export const getQuarter = (params) => {
    return axios.request({
        url: '/apply/commission/getQuarter',
        method: 'post',
        params:params
    });
}

export const getTypeId = (params) => {
    return axios.request({
        url: '/apply/commission/currencyRewardTypes',
        method: 'post',
        params:params
    });
}

export const getCurrencyRewardList = (params) => {
    return axios.request({
        url: '/apply/commission/getCurrencyRewardList',
        method: 'post',
        data:params
    });
}

export const confirmReceiveMoney = (params) => {
    return axios.request({
        url: '/apply/commission/receiptMoney',
        method: 'post',
        data:params
    });
}

export const confirmSendMail = (params) => {
    return axios.request({
        url: '/apply/commission/confirmSendMail',
        method: 'post',
        data:params
    });
}


export const getBaseDealerInfo = (params) => {
    return axios.request({
        url: '/apply/commission/getbasedealerinfo',
        method: 'post',
        data:params
    });
}
export const printFile = (param) => {
    return axios.request({
        url: '/apply/commission/export',
        method: 'post',
        data:param
    });
}
